package com.egao.common.publicly.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 首页公务员VO
 * @author pyx
 */
@Data
public class OfficialVO {

    @ApiModelProperty("编号")
    private Integer id;

    @ApiModelProperty("公务员信息类型名称")
    private String crawlerName;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("信息地址")
    private String url;

    @ApiModelProperty("信息时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date officialTime;
}
